home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
FROMUTS
/
UNIXLIB37B
/
test
/
c
/
wdtest
< prev
next >
Wrap
Text File
|
1992-03-15
|
210b
|
16 lines
#include <stdio.h>
#include <stdlib.h>
#include "unistd.h"
#include "sys/param.h"
int main()
{
char b[MAXPATHLEN];
if (!(getwd(b,MAXPATHLEN))) { perror("cwdtest"); exit(1); }
puts(b);
puts(__uname(b,0));
}